﻿using System.Web;
using System.Web.Optimization;

namespace Mvc.RazorTools.Glyphicons
{
	public class BundleConfig
	{
		public static void RegisterBundles(BundleCollection bundles)
		{
			// ***
			// *** The order of these scripts is important
			// ***
			bundles.Add(new ScriptBundle("~/bundles/modernizr").Include
					(
						"~/Scripts/modernizr-*"
					));

			bundles.Add(new ScriptBundle("~/bundles/library").Include
					(
						"~/Scripts/jquery-{version}.js",
						"~/Scripts/jquery-ui-{version}.js",
						"~/Scripts/bootstrap.js",
						"~/Scripts/respond.js"
					));

			bundles.Add(new StyleBundle("~/Content/css").Include
					(
						"~/Content/bootstrap.css",
						"~/Content/bootstrap_icon-large.css"
					));
		}
	}
}
